home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / Demos / Bombardier_PC / BSCRIPTS.CST / 00015_Script_15 < prev    next >
Text File  |  1999-04-25  |  1KB  |  34 lines

  1.  
  2. -- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
  3. -- Developed for Bombardier, Inc.
  4. --
  5. -- All programming developed by: 
  6. -- Robert Fabricant, Valerie Valoueva, Ossi Shaked, 
  7. -- Henry Sauvageot, Chris Howell & Chris Girand
  8. --
  9. -- Use of this code by parties other than @radical.media, inc. or their
  10. --agents 
  11. -- without the express written consent of @radical.media, inc. AND Concurrent 
  12. -- New Media Group, L.L.C. is strictly prohibited.
  13. ------------------------------------------------------
  14.  
  15. on exitFrame
  16.   global gSelct,gImage,NumOfQTVRMenuItems
  17.   set qtvrPlaneSprNum = getSpriteNumFromMemberName("qtvranchor")+1
  18.   set range = NumOfQTVRMenuItems - 1
  19.   
  20.   if gSelct <> qtvrPlaneSprNum+range and gSelct <>"" then
  21.     set the castnum of sprite gSelct to gImage 
  22.     set the castnum of sprite gSelct+1 to gImage-1 
  23.     updatestage
  24.     
  25.   end if
  26.   
  27.   if gSelct <> qtvrPlaneSprNum+range then
  28.     set gSelct = qtvrPlaneSprNum+range
  29.     set gImage = the castnum of sprite gSelct 
  30.     set the castnum of sprite gSelct to the castnum of sprite gSelct +18
  31.   end if
  32.   
  33.   updatestage
  34. end